<template>
  <div class="app">
    <!-- 
      <router-link></router-link>Vue 会把这个标签转换成a链接
     -->
    <router-link tag="li" to="/home">home</router-link>
    <router-link tag="li" to="/about">about</router-link>
    <router-link tag="li" to="/user/100">用户100</router-link>
    <router-link tag="li" to="/user/200">用户200</router-link>
    <hr />
    <router-view />
  </div>
</template>

<script>
  export default {
    data() {
      return {
        
      }
    },
  }
</script>

<style lang="scss" scoped>

</style>